$controls/header()$
$controls/navigation()$ <form action="encourage.aspx" method="POST" name="EncourageForm" id="EncourageForm" onsubmit="return onPost()">
<input type="hidden" name="token" value="$Token$" />
<input type="hidden" name="replyid" value="$ReplyId$" />
<input type="hidden" name="topicid" value="$TopicId$" />
<input type="hidden" name="boardid" value="$BoardId$" />
<input type="hidden" name="authorid" value="$AuthorId$" />
<input type="hidden" name="topicstatus" value="$TopicStatus$" />
<input type="hidden" name="replystatus" value="$ReplyStatus$" />
<input type="hidden" name="authorname" value="$AuthorName$" />
$controls/tableheader(
Caption=Confirm,
ElementId="encourage"
)$
<script> 
var credits = [$Member.Credits:{c|$if(c.Enabled)$['$c.Field$', '$c.Name$', '$c.Unit$', $c.Rate$, $c.Value$],$endif$}$[]];

var encouragableCredits = '$EncouragableCredits$';
</script>
<script src="scripts/encourage.js"></script>
<table width="100%" cellspacing="0" class="inner innerline">
<tr>
  <td width="17%" valign="top"><p>&nbsp;</p>
    <p>&nbsp;</p>
    <p></p></td>
  <td width="83%" valign="top">
  <div class="comment" style="width:300px; margin:10px 0;">
<p><strong>您的当前帐户：</strong></p>
<p>&nbsp;</p>
<p>$Member.Credits:{c|
    $if(c.Enabled)$
    $c.Name$：&nbsp;<span class="small">$c.Value$ $c.Unit$<br />
</span> $endif$
    }$ </p>
</div>
<p>&nbsp;  </p>
<p>积分类型：
  <select name="credit" id="credit" onchange="onChangeCreditType()">
  $Member.Credits:{c|$if(c.Enabled)$  
  <option value="$c.Field$">$c.Name$</option>
  $endif$}$
  </select>
</p>
<p>&nbsp;</p>
<p>奖励数量：
       <input type="text" value="1" name="total" id="total" size="5" class="input2" onBlur="this.className='input2';onTotalBlur(this);" onFocus="this.className='input1'" /> 
       可奖励范围 <span id="range"></span>
	   
</p>
<p>&nbsp;</p>
<p>奖励理由：
        <input type="text" id="reason" name="reason" style="width:250px;" class="input2" onBlur="this.className='input2'" onFocus="this.className='input1'" />
    </p>
<p>&nbsp;</p>
$if(Deduct)$
	<p style="color:#993300" id="deductprompt">提示：所奖励的积分将从您的帐户扣除</p>
    <p>$endif$    </p>
    <p>&nbsp;</p>
    <p>
      <input name="submit" type="submit" value="  确 定  "  class="button">
      <input onClick="history.back()" type="reset" value="  取 消  " name="reset"  class="button">
    </p>
    <p>&nbsp;</p>	</td>
  </tr>
</table>

$controls/tablefooter()$
<br />
<div align="center"></div>
</form>
<script>init();</script>
$controls/footer()$